<%-- 
    Document   : manageStudentSelect
    Created on : 10-jan-2012, 10:19:52
    Author     : Vince
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Manage Students</title>
    </head>
    <body>
        <h1>Manage Students</h1>
        <h2>Select a Student:</h2>
        <p id="zl" style="display:none;">${lenght}</p>
        <input id="regexp" onkeyup="zoek()" type="text"></input><button onclick="zoek()" value="search">search</button>
        <table class="noborder">
            <c:forEach begin="0" end ="${lenght-1}" varStatus="loop">
                
                        <tr id='z${loop.index}'>
                        <form id='zf${loop.index}' action="ManageStudentController" method="post" name="ManageStudentForm">
                        <td>
                            <input name="student" type="hidden" value="${sucode[loop.index]}"></input>${sucode[loop.index]} - ${sfname[loop.index]}, ${sinsert[loop.index]} ${slname[loop.index]}
                        </td><td>
                            <input type="submit" name="submit" value="edit" />
                        </td>
                        </form>
                    </tr>
            </c:forEach>
        </table>


            <%session.setAttribute("manageStudentController", "editStudentSelect");%>
            <A HREF="Menu?redirection=back">Back</A>
    </body>
</html>
